package com.duanjw.springframework.beanpostprocessor.service.impl;

import com.duanjw.springframework.beanpostprocessor.dao.UserDao;
import com.duanjw.springframework.beanpostprocessor.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl implements UserService {

    public void setUserDao(UserDao userDao) {
        System.out.println("------"+userDao);
    }


    @Override
    public void query(){
//        System.out.println("UserServiceImpl.query，userDao："+userDao );
    }
}
